package com.dimension.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/*
* 控制前台后台index
* */
@Controller
@RequestMapping("/fronIndex")
public class FrontPageController {


    @GetMapping("/index")
    public ModelAndView index(){
        ModelAndView mv = new ModelAndView("/backstage/backIndex");
        return mv;
    }

/*
    @GetMapping("/test")
    public  ModelAndView addGoods(){

        ModelAndView mv = new ModelAndView("stock/addGoods");
        return mv;
    }
*/


}
